UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The services file must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-824 GEN003780 M6 SV-37997r1_rule ECLP-1 Medium
Description
The services file is critical to the proper operation of network services and must be protected from unauthorized modification. Unauthorized modification could result in the failure of network services.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide 2012-01-30

Details

Check Text ( C-37579r1_chk )
Open a terminal session and enter the following command to verify the mode of the services file.

ls -lL /etc/services

If the services file has a mode more permissive than 0644, this is a finding.

Fix Text (F-32821r1_fix)
Open a terminal session and enter the following command to set the mode of the services file.

chmod 0644 /etc/services